package com.itcat.service;

import com.itcat.mysql.pojo.PmsSkuStock;

import java.util.List;

/**
 * @author Jerry Broker
 * @project_name rainbow-mall
 * @create 2022-04-04 9:16
 */
public interface PmsSkuStockService {
    // 根据商品ID及sku编码模糊搜索sku库存
    List<PmsSkuStock> getSkuByPid(Integer pid, String keyword);

    // 批量更新sku库存信息
    void updateSku(Integer pid, List<PmsSkuStock> skuStockList);
}
